package org.kabeja.dxf.entity;

/**
 * @author shutao
 * @since 2022/4/25 9:08
 */
public class DXFLineType {
    private String name = "";
    private String descritpion = "";
    private double totalPatternLength = 0.0D;
    private double[] pattern;
    private int elementCount = 0;
    private int[] offsetX;
    private int[] offsetY;
    private int alignment;
    protected double scale = 1.0D;

    public DXFLineType() {
    }

    public String getDescritpion() {
        return this.descritpion;
    }

    public void setDescritpion(String var1) {
        this.descritpion = var1;
    }

    public int getSegmentCount() {
        return this.elementCount;
    }

    public void setSegmentCount(int var1) {
        this.elementCount = var1;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String var1) {
        this.name = var1;
    }

    public double[] getPattern() {
        return this.pattern;
    }

    public void setPattern(double[] var1) {
        this.pattern = var1;
    }

    public double getPatternLength() {
        return this.totalPatternLength;
    }

    public void setPatternLength(double var1) {
        this.totalPatternLength = var1;
    }

    public int getAlignment() {
        return this.alignment;
    }

    public void setAlignment(int var1) {
        this.alignment = var1;
    }

    public double getScale() {
        return this.scale;
    }

    public void setScale(double var1) {
        this.scale = var1;
    }

    public boolean isScaleToFit() {
        return this.alignment == 83;
    }
}

